/**
 * 
 */
package com.orange.cepappmanager.java.client.android;

import java.util.logging.Logger;

import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;
import javax.ws.rs.Path;

/**
 * @author GQXG9096
 *
 */
@Path("/rule/")
public class RuleService {
	
	@SuppressWarnings("unused")
	private static final Logger log = Logger.getLogger(PhoneService.class
			.getName());

	private static final EntityManagerFactory ENTITY_MANAGER = Persistence
			.createEntityManagerFactory("transactions-optional");

	public static EntityManager getEntityManager() {
		return ENTITY_MANAGER.createEntityManager();
	}
	

}
